<cpanel include="../../config.php">

<?

/***************************************************************************
 *                                 filters_delete.php
 *                            -------------------
 *   Begin                : Thursday, April 16, 2005
 *   Copyright            : (C) 2005 Point and Code
 *   Domain               : http://www.pointandcode.com/
 *   Email                : support@pointandcode.com
 *   Version              : 1.0.0
 *
 ***************************************************************************/

/***************************************************************************
 *
 *   This program is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 ***************************************************************************/

$html_root_path = '../../';
$page_title = "Delete Filter";
include $root_path.'common.php';
include $root_path.'page_header.php';

$search_location = $HTTP_GET_VARS['search_location'];
$search_location_2 = $HTTP_GET_VARS['search_location_2'];
$match_rule = $HTTP_GET_VARS['match_rule'];
$search_term = $HTTP_GET_VARS['search_term'];
$destination = $HTTP_GET_VARS['destination'];

$template->set_filenames(array(
	'body' => $root_path.$template_path.'mail/filters_delete.tpl')
);


$template->assign_vars(array(
	'SEARCH_LOCATION' => $search_location,
	'MATCH_RULE' => $match_rule,
	'SEARCH_TERM' => $search_term,
	'DESTINATION' => $destination,
	'HIDDEN_VARS' => '<input type=hidden name=filter value="$'.$search_location_2.': '.$match_rule.' %22'.$search_term.'%22">',
	'ADDRESS' => $address,
	'S_EMAIL' => $address."=".$redirect,
	'S_ACTION' => 'forwarders_delete_done.php',
	'S_CANCEL_ACTION' => 'forwarders_manage.php',
	)
);



//
// Woohoo! All done!
//
$template->pparse('body');




include $root_path.'page_tail.php';




?>